<template>
    <sc-dialog title="添加学校信息" v-model="propValue" custom-class="addSchoolPopup" width="70vw" top="50px" @close="$emit('input', false)">
        <div class="dialog-content">dialog-content</div>
        <span slot="footer" class="dialog-footer">
            <el-button size="mini" @click="_close">取 消</el-button>
            <el-button size="mini" type="primary" @click="_close">确 定</el-button>
        </span>
    </sc-dialog>
</template>
<script>
export default {
    props: {
        value: {
            type: Boolean,
            default: false,
        },
    },
    data() {
        return {};
    },
    computed: {
        propValue: {
            get() {
                return this.value;
            },
            set(nval) {
                this.$emit("input", nval);
            },
        },
    },
    methods: {
        //关闭弹窗
        _close() {
            this.$emit("input", false);
        },
    },
};
</script>
<style lang="scss" scoped>
.addSchoolPopup {
    .dialog-content {
    }
}
</style>
